Conversation
After each stable release on the release branch, this workflow automatically creates and merges a PR from release to main, ensuring release tags are reachable from main's history. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
chore: sync release to main
* fix: always show pagination token when more results exist
Remove the isPaginated gate from output decisions. The pagination token
and hint are now shown whenever the response indicates more items exist,
regardless of whether --limit or --page-token were explicitly passed.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: add pagination support to ls command
The ls command also uses list() and listBuckets() from the SDK but was
missing pagination flags and token display.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: use consistent JSON schema for all list commands
Always use formatPaginatedOutput so JSON output is consistently
{ "items": [...] } with optional paginationToken, rather than switching
between a bare array and wrapped object based on server response.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* feat: add pagination support to snapshots list
The storage SDK now supports pagination in listBucketSnapshots. Update
the snapshots list command to accept --limit and --page-token flags and
display the pagination token when more results exist.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore: update @tigrisdata/storage with snapshot pagination support
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: update fork detection to use new SDK forkInfo API
The updated @tigrisdata/storage SDK replaced hasForks and
sourceBucketName with forkInfo.hasChildren and forkInfo.parents[].
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: update integration tests for new paginated JSON schema
JSON output from list commands now returns { items: [...] } instead of
a flat array. Update the two integration tests that parsed JSON output
as flat arrays to use parsed.items instead.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: update stale bucket cleanup to use paginated JSON schema
The beforeAll cleanup also parsed buckets list JSON as a flat array.
Silently failed in the catch block, leaving stale test buckets.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 7226291. Configure here.
| const isChildOf = info?.forkInfo?.parents?.some( | ||
| (p) => p.bucketName === forksOf | ||
| ); | ||
| if (isChildOf) { |
There was a problem hiding this comment.
Inconsistent JSON output format for fork list commands
Medium Severity
The --forks-of path in buckets list and the forks list command still use formatOutput, which outputs a raw JSON array. Every other list command was migrated to formatPaginatedOutput, which wraps results in { "items": [...] }. This means buckets list --format json returns { "items": [...] } but buckets list --forks-of X --format json returns [...], creating an inconsistent JSON contract from the same command depending on flags.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 7226291. Configure here.
|
🎉 This PR is included in version 2.16.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |


Note
Medium Risk
Medium risk due to a major
@tigrisdata/storageupgrade that changes API response shapes and pagination behavior, impacting multiple CLI list commands and their JSON/XML outputs. GitHub workflow changes auto-create/merge PRs, which could affect release process if misconfigured.Overview
Adds a new GitHub Action (
.github/workflows/sync-release-to-main.yaml) that, after a successfulReleaseworkflow onrelease, automatically opens (and merges) a PR fromreleaseintomainwhenreleaseis ahead.Upgrades
@tigrisdata/storagefrom2.xto3.0.0and updates list-style commands (ls,buckets list,objects list,snapshots list,access-keys list,iam policies list) to always useformatPaginatedOutput, accept--limit/--page-token, and consistently emit pagination metadata (notably changing JSON output to{ items, paginationToken? }). Fork discovery is updated to use the newforkInfoshape.Updates CLI specs (
src/specs.yaml) to document the new pagination flags forlsandsnapshots list, and adjusts integration tests to match the new JSON output shape.Reviewed by Cursor Bugbot for commit 7226291. Bugbot is set up for automated code reviews on this repo. Configure here.